package com.kylin.system.model;

import lombok.Data;

/**
 * 路由显示信息
 * 
 * @author wuhao
 */
@Data
public class Meta
{
    /**
     * 设置该路由在侧边栏和面包屑中展示的名字
     */
    private String title;

    /**
     * 设置该路由的图标，对应路径src/icons/svg
     */
    private String icon;

    /** 设置该路由的排序值 */
    private int order;
    
    /** 国际化的key */
    private String i18nKey;

    /** 是否隐藏菜单 */
    private boolean hideInMenu;

    /** 高亮激活菜单 */
    private String activeMenu;

    public Meta()
    {
    }

    public Meta(String title, String icon)
    {
        this.title = title;
        this.icon = icon;
    }

    public Meta(String title, String icon, int order, String i18nKey, boolean hideInMenu, String activeMenu)
    {
        this.title = title;
        this.icon = icon;
        this.order = order;
        this.i18nKey = i18nKey;
        this.hideInMenu = hideInMenu;
        this.activeMenu = activeMenu;
    }



}
